import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import "./plugins/element.js"
import Axios from 'axios';
// import VueAxios from 'vue-axios';
import Less from 'less';
import './style/golbal/golbal.css';
import './assets/font/iconfont.css'
import * as echarts from 'echarts' //引入echarts
Vue.prototype.$echarts = echarts //引入组件

Vue.use(Less);
// Vue.use(Axios)
Vue.prototype.$axios = Axios
Vue.config.productionTip = false
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
import Router from 'vue-router'



const originalPush = Router.prototype.push
Router.prototype.push = function push(location) {
  return originalPush.call(this, location).catch(err => err)
}
